package com.mall.application.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyijie
 * @since 2021-06-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="ApplicationService对象", description="")
public class ApplicationServicePO extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("APP_ID")
    private Integer appId;

    @ApiModelProperty(value = "可访问服务的id")
    @TableField("SERVICE_ACCESS_ID")
    private Integer serviceAccessId;

    @ApiModelProperty(value = "状态。1 等待授权 ，2 已授权访问，3 已禁止访问")
    @TableField("SERVICE_ACCESS_STATUS")
    private Integer serviceAccessStatus;

    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态。0 已删除，1 在用，")
    @TableField("STATUS")
    private Integer status;


}
